scan query with filters