QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1201.22 rows=1 width=166)
Filter: ((name)::text = 'f777e73f-c589-3f94-8986-3b9dadde2af9'::text)