QUERY PLAN
Sort (cost=11.55..11.55 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..11.54 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{197,199,229,2,1,5,164,172,136,139,184,189,307,203,349,356,377}'::integer[])))