QUERY PLAN
Sort (cost=14.08..14.08 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..14.07 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{1,183,189,184,2,215,229,196,204,5,185,191,226,160,200,197,199,340,349,367,369,374,377,135,140}'::integer[])))