QUERY PLAN
Sort (cost=14.20..14.21 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..14.19 rows=1 width=22)
Filter: ((term_id = 12) AND (id = ANY ('{46,213,1,6,165,179,142,2,184,189,107,316,153,349,160,140,365}'::integer[])))