At the end of your search query, click (More…) and select the :filtered option. Then, add a constraint, and the Advanced… option is at the bottom of the dropdown.