QUERY PLAN
Sort (cost=15.91..15.91 rows=1 width=22)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..15.90 rows=1 width=22)
Filter: ((term_id = 12) AND (id = ANY ('{2,164,179,136,140,142,153,197,199,2100000000,377,354,215,177,184,189,349,181,369,1,165}'::integer[])))