QUERY PLAN
Sort (cost=39.24..39.25 rows=3 width=21)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.14..39.22 rows=3 width=21)
Index Cond: (id = ANY ('{46,100,182,179,142,101,102,96,6,93,165,105,167,184,189,97,1,156,2100000000,185,193,45,99,213,2,7,136,135,196,204,133,139,5,129,168,173,153,130,172,197,199,164,205,194,207,212,181,94,10,215,154,8,174,128,175,226,155,131,176,191,200,157,230,229,166,224,192,171,231,214,219,223,9,208,210,211,227,216,228,11,209,217,218,221,225,222,160,140,203,138,313,107,178,315,319,112,137,163,183,188,309,317,114,320,232,265,305,323,333,340,341,349,350,359,360,365,369,373,374,377}'::integer[]))
Filter: (term_id = 12)