QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..994.30 rows=1 width=165)
Filter: ((name)::text = 'cfde07d1-2790-3bcd-9d56-7e07e5ee58da'::text)