QUERY PLAN
Hash Right Join (cost=86.02..92.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=86.01..86.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..86.01 rows=1 width=47)
Index Cond: ((object_id = ANY ('{697,684,456,457,696,537,523,174,670,657,631,444,695,624,568,526,502,655,665,658}'::integer[])) AND (term_id = 7))