QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1026.84 rows=1 width=165)
Filter: ((name)::text = '942bd5ba-0991-3a33-96d0-2dc14ec3840c'::text)