QUERY PLAN
Sort (cost=14.37..14.38 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..14.36 rows=1 width=22)
Filter: ((term_id = 12) AND (id = ANY ('{137,140,5,184,189,165,181,2,183,187,1,160,349,372,348,352,356}'::integer[])))