QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..991.00 rows=1 width=165)
Filter: ((name)::text = 'd0ae2a79-2e4b-3ad1-be28-1ad29a0a5cc1'::text)