QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..104.62 rows=2 width=51)
Index Cond: ((object_id = ANY ('{7939,7923,7922,7918,4011,2986,1762,1311,1227,728}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)