QUERY PLAN
Seq Scan on tbl_term_taxonomies (cost=0.00..9.01 rows=2 width=15)
Filter: ((term_id = 18) AND (id = ANY ('{45,164,171,173,158,205,204,312,359}'::integer[])))