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 = 12) AND (id = ANY ('{226,265,165,139,232,184,189,349,2}'::integer[])))