QUERY PLAN
Sort (cost=34.77..34.78 rows=2 width=21)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.14..34.76 rows=2 width=21)
Index Cond: (id = ANY ('{97,46,8,45,107,166,226,102,100,165,179,142,5,205,199,167,101,215,133,136,140,128,173,153,196,204,164,154,156,131,184,189,320,315,171,181,2,6,1,93,183,190,178,130,172,200,212,198,202,94,160,7,9,10,11,207,208,209,210,213,214,216,217,218,219,221,222,223,224,225,227,228,229,230,157,138,135,197,2100000000,132,185,192,319,316,324,327,331,340,348,349,359,374,377}'::integer[]))
Filter: (term_id = 12)