QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..50.50 rows=1 width=111)
Index Cond: ((object_id = ANY ('{7452,7450,7448,7447,7446,7444,7434}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)