QUERY PLAN
Sort (cost=36.42..36.43 rows=2 width=21)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.14..36.41 rows=2 width=21)
Index Cond: (id = ANY ('{165,179,142,46,164,101,103,115,100,102,97,197,194,137,107,140,226,169,172,8,185,191,131,181,93,94,1,2,6,153,7,5,212,182,205,204,196,199,184,189,200,183,187,211,232,193,158,156,231,207,229,224,223,214,219,9,208,210,227,216,228,11,209,217,230,218,10,213,221,225,215,222,192,319,316,2100000000,311,114,154,136,139,313,112,105,322,315,160,133,134,135,320,326,340,348,349,359,365,367,369,372,374,377,129}'::integer[]))
Filter: (term_id = 12)