QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..900.95 rows=1 width=164)
Filter: ((name)::text = '318e78e3-2a6c-31e2-b77b-4f864c411617'::text)