QUERY PLAN
Sort (cost=12.81..12.82 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..12.80 rows=1 width=21)
Filter: ((term_id = 9) AND (id = ANY ('{165,232,2,5,226,184,189,205,204,308,198,202,185,191,136,172,324,349,359,363,369}'::integer[])))