QUERY PLAN
Sort (cost=55.89..55.90 rows=5 width=153)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..55.83 rows=5 width=153)
Index Cond: (id = ANY ('{229,5,2,1,215,8,165,179,142,386,364,323,387,100,135,136,139,153,97,164,137,389,231,207,224,223,214,219,9,208,210,211,226,227,7,216,6,93,228,11,209,94,217,230,218,10,213,221,225,222,212,133,134,198,201,369,332,140,184,189,313,349,205,204,2100000000,359,197,194,316,326,46,203,317,341,128,166,265,112,182,157,315,196,340,99,96,199,331,156,202,324,185,191,115,192,348,141,154,353,377,98,200,374,138,107,116,311,319,106,130,105,114,320,160,101,183,367,102,45,167,350,180,358,103,321,206,330,188,355,190,327,373,171,181,305,173,304,131,193,365,322,354,129,175,176,168,132,172,344,187,372,169,170,370,178,174,177,158,376,378,159,155,232,361,346,271,268,269,270,357,2100000001,334,163,371,337,267,342,336,351,328,308,343,307,356,309,360,352,363,310,375,366,162,333,362,329,379}'::integer[]))
Filter: (term_id = 12)