QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1203.00 rows=1 width=166)
Filter: ((name)::text = 'dd8c03b4-1f09-3350-afef-b90e7509b236'::text)