QUERY PLAN
Sort (cost=42.24..42.25 rows=3 width=22)
Sort Key: sort
-> Index Scan using tbl_term_taxonomies_pkey on tbl_term_taxonomies (cost=0.15..42.22 rows=3 width=22)
Index Cond: (id = ANY ('{97,160,140,136,46,45,101,229,100,94,153,135,175,159,5,102,2,165,179,142,1,226,7,183,187,133,2100000000,213,210,212,139,137,156,167,180,215,184,189,154,131,166,93,8,232,181,6,10,265,185,191,178,128,205,204,172,174,129,203,197,194,168,228,199,171,196,304,130,200,164,331,182,307,192,317,309,155,337,319,107,198,202,340,341,348,316,320,349,313,322,324,326,350,351,354,356,359,360,366,369,371,372,374,377,332,327,353,323,333,437,410,138,315}'::integer[]))
Filter: (term_id = 10)