QUERY PLAN
Seq Scan on tbl_term_taxonomies (cost=0.00..9.32 rows=1 width=35)
Filter: ((term_id = 17) AND (id = ANY ('{5,1,165,179,142,166,197,199,320,377}'::integer[])))