QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..994.30 rows=1 width=165)
Filter: ((name)::text = 'c42aa325-9ad1-3a73-b6f1-450ab663367d'::text)