QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..899.45 rows=1 width=164)
Filter: ((name)::text = 'a18a4f1a-ea3b-30de-9d42-1e39f802b0e7'::text)