QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1035.81 rows=1 width=165)
Filter: ((name)::text = '1cddc7a5-0e5f-34bc-af26-a4557d368099'::text)