QUERY PLAN
Seq Scan on tbl_term_taxonomies (cost=0.00..11.58 rows=1 width=35)
Filter: ((term_id = 17) AND (id = ANY ('{165,179,172,166,184,189,319,349}'::integer[])))