QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1026.84 rows=1 width=165)
Filter: ((name)::text = 'a1d08019-f732-38a1-9216-2f3129f80f03'::text)