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