QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..995.80 rows=1 width=165)
Filter: ((name)::text = 'ba7db72d-479a-347c-ad19-98874457a247'::text)