QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..994.30 rows=1 width=165)
Filter: ((name)::text = 'e40e8bdd-16d2-3695-ae5d-4ec8c4b32f55'::text)