QUERY PLAN
Sort (cost=9.79..9.80 rows=1 width=74)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..9.78 rows=1 width=74)
Filter: ((term_id = 9) AND (id = ANY ('{2,128,172,308,204,349,363}'::integer[])))