I think the easiest way is to change your query's "Run Behavior" setting to "Manual" so that only event triggers set up in your app trigger that (you can also set it up so that the query runs on page load)
That is odd if you have it set to manual. From the state tab you can inspect the query and see what it is controlled by at the bottom. This will list out what can trigger a query to run.