QUERY PLAN
Sort (cost=42.07..42.07 rows=2 width=22)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..42.06 rows=2 width=22)
Index Cond: (id = ANY ('{97,46,100,96,165,179,142,164,102,198,201,184,200,135,136,137,133,226,140,139,138,107,131,205,204,178,203,167,181,160,159,185,191,189,154,176,128,93,94,1,5,2,6,7,8,321,153,175,156,229,10,183,194,212,304,215,166,171,213,182,172,130,197,199,231,207,224,223,214,219,9,208,210,211,227,216,228,11,209,217,230,218,221,225,222,129,265,2100000000,332,187,105,114,320,341,346,317,349,319,232,354,359,369,371,373,374,377,323,322,367,348,379}'::integer[]))
Filter: (term_id = 12)