QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1026.84 rows=1 width=165)
Filter: ((name)::text = 'cd4ea339-89ff-3511-8433-2f7c07d829be'::text)