QUERY PLAN
Sort (cost=45.10..45.10 rows=3 width=22)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..45.07 rows=3 width=22)
Index Cond: (id = ANY ('{182,179,142,46,107,2,102,96,164,165,167,184,189,131,181,205,1,97,200,133,197,199,198,202,229,140,5,204,134,135,136,137,139,154,153,185,191,93,94,6,215,8,2100000000,232,7,9,174,178,210,226,196,212,155,128,176,160,172,175,157,166,194,224,171,231,207,223,214,219,208,211,227,216,228,11,209,217,230,218,10,213,221,225,222,304,130,271,203,138,313,332,105,337,319,192,201,307,163,187,156,340,317,341,344,114,349,315,265,305,324,350,356,359,369,371,373,374,377,366,330,353,354,372,348,360,323,326,357,333,352}'::integer[]))
Filter: (term_id = 12)