QUERY PLAN
Sort (cost=12.45..12.46 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..12.44 rows=1 width=22)
Filter: ((term_id = 9) AND (id = ANY ('{2,1,165,181,307,309,366,349,5,226,184,189}'::integer[])))