QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1035.81 rows=1 width=165)
Filter: ((name)::text = 'b313ce05-2e9c-31c1-b3ed-695375d49a31'::text)