QUERY PLAN
Seq Scan on tbl_term_taxonomies (cost=0.00..11.29 rows=1 width=31)
Filter: ((term_id = 17) AND (id = ANY ('{265,165,179,178,184,189,319,349,340}'::integer[])))