When creating a new query within the PocketQuery, you can decide that it should only be available in certain spaces. Use the field "Spaces" to specify them. The input should be a comma-separated list of spacekeys and space cagegories prefixed by "category:".
Example input: spaceKey1, spaceKey2, category:mySpaceCategory.
Use the permission management of Confluence to restrict access to these spaces.