QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..897.95 rows=1 width=164)
Filter: ((name)::text = 'a54687cc-2a98-3827-9f3b-9109d3405640'::text)