QUERY PLAN
Hash Right Join (cost=47.02..53.51 rows=1 width=62)
Hash Cond: (tt.id = pt.taxonomy_id)
-> Seq Scan on tbl_term_taxonomies tt (cost=0.00..5.53 rows=253 width=15)
-> Hash (cost=47.01..47.01 rows=1 width=47)
-> Index Scan using tbl_term_taxonomy_relationships_object_id_term_id_idx on tbl_term_taxonomy_relationships pt (cost=0.29..47.01 rows=1 width=47)
Index Cond: ((object_id = ANY ('{697,684,456,457,696,537,523,174,670,657}'::integer[])) AND (term_id = 7))