What is the best way to query data?

The problem I found with named queries is that you can´t filter them with a multiselect of a parameter, have to do it with scripting query.

But also named queries are quite useful to have all queries well organized, easy to edit and test and can recall them from any part of the app.