You can exclude those file types from searches by using the Persistent Search Filter option.
Step 1 - Click on the filter button

Step 2 - Add a new filter
Click the 'Add...' button to add a new filter and choose the 'File name' option and use the expression:
NOT:<~$
For example:

Click the 'Save' button to save the filter and close the dialog.
Step 3 - Switch the new filter on
Click the check box to make sure the filter is switched on.

Subsequent searches should now exclude those temporary files, which you can verify in the Summary tab:
