QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1091.51 rows=1 width=165)
Filter: ((name)::text = '01597162-954e-3fe5-8e3c-37c689a0caba'::text)