Pages section don’t have a query option; you can only define a parent.
If you want to filter pages, you can use the https://github.com/rasteiner/k3-pagesdisplay-section plugin which gives you full control over what you want to show, at the expensive of not being able to sort pages or add new pages from this section.