QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..897.95 rows=1 width=164)
Filter: ((name)::text = 'c7ffd608-fe8a-3a95-b7f1-e2848b181328'::text)