QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..899.45 rows=1 width=164)
Filter: ((name)::text = 'f6bceeee-0b21-3cc4-9388-40ecb29a802c'::text)