QUERY PLAN
Sort (cost=9.02..9.02 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..9.01 rows=1 width=21)
Filter: ((term_id = 10) AND (id = ANY ('{5,226,215,2,164,172,184,189,349}'::integer[])))