QUERY PLAN
Sort (cost=15.91..15.91 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..15.90 rows=1 width=22)
Filter: ((term_id = 12) AND (id = ANY ('{137,140,5,1,164,142,184,189,135,139,185,191,165,181,2,307,352,349,369,348,333}'::integer[])))