QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..902.45 rows=1 width=164)
Filter: ((name)::text = '0316e41f-5538-31dd-9295-fe023b6b42e6'::text)