QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..902.45 rows=1 width=164)
Filter: ((name)::text = 'd2cd80bc-8e02-3473-a4f4-d35a688ac6e4'::text)