QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..994.30 rows=1 width=165)
Filter: ((name)::text = 'bbb9ce81-5f5f-3253-9652-aa4339b725d6'::text)