QUERY PLAN
Sort (cost=17.21..17.22 rows=1 width=22)
Sort Key: sort
-> Bitmap Heap Scan on tbl_term_taxonomies (cost=12.03..17.20 rows=1 width=22)
Recheck Cond: (id = ANY ('{160,140,333,185,191,183,194,184,189,187,309,5,349,1,307,2,226,354,369,372,356,327,352,379,348,323}'::integer[]))
Filter: (term_id = 12)
-> Bitmap Index Scan on tbl_term_taxonomies_pkey (cost=0.00..12.03 rows=26 width=0)
Index Cond: (id = ANY ('{160,140,333,185,191,183,194,184,189,187,309,5,349,1,307,2,226,354,369,372,356,327,352,379,348,323}'::integer[]))