QUERY PLAN
Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships (cost=0.29..114.81 rows=2 width=51)
Index Cond: ((object_id = ANY ('{8240,8237,8224,8222,8221,8196,8286,8241,8242,8243,8244}'::integer[])) AND (term_id = 18))
Filter: (object_type = 7)