QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1201.50 rows=1 width=166)
Filter: ((name)::text = 'bba0c964-cb0f-3ee5-b6c1-8c002f4e003b'::text)