QUERY PLAN
Seq Scan on tbl_attachement_relationships (cost=0.00..493.47 rows=1 width=16)
Filter: ((object_type = 31) AND (object_id = 2743))