QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1035.81 rows=1 width=165)
Filter: ((name)::text = '7d6021cd-662d-323a-b91c-a5c6d3fefa31'::text)