QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..105.45 rows=2 width=52)
Index Cond: ((object_id = ANY ('{8884,8892,8780,8789,8654,8578,8484,8415,8425,8359}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)