QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1025.34 rows=1 width=165)
Filter: ((name)::text = '8c4e4178-a54a-3057-b68c-9b83999e2507'::text)