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