QUERY PLAN
Seq Scan on tbl_term_taxonomies (cost=0.00..8.06 rows=1 width=35)
Filter: ((term_id = 17) AND (id = ANY ('{1,166,196,204,319,340}'::integer[])))