QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..103.83 rows=2 width=51)
Index Cond: ((object_id = ANY ('{8266,8265,8264,8263,8262,8261,8260,8259,8258,8257}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)