QUERY PLAN
Sort (cost=13.22..13.22 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..13.21 rows=1 width=22)
Filter: ((term_id = 12) AND (id = ANY ('{5,2,165,137,140,181,184,189,349,348,1,142,356,139}'::integer[])))