Of course you could always just add the Query popup to your popups (Alt+P -> Query) directly.

Query:/query $$1