QUERY PLAN
Sort (cost=12.18..12.19 rows=1 width=21)
Sort Key: sort
-> Seq Scan on tbl_term_taxonomies (cost=0.00..12.17 rows=1 width=21)
Filter: ((term_id = 12) AND (id = ANY ('{5,1,94,229,226,215,130,179,136,175,156,205,204,359,182,178,197,199,377}'::integer[])))