QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..900.95 rows=1 width=164)
Filter: ((name)::text = '0ccf7578-d404-337f-a2a4-de48d95d309c'::text)