QUERY PLAN
Seq Scan on tbl_term_taxonomies (cost=0.00..15.97 rows=7 width=15)
Filter: ((term_id = 18) AND (id = ANY ('{100,98,102,1,139,164,169,181,165,179,8,5,205,194,182,142,6,215,184,189,176,153,307,379,349,378,315,316,313,185,369}'::integer[])))