QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1204.49 rows=1 width=166)
Filter: ((name)::text = 'a7ecf607-f784-3602-a128-396ed2532f9d'::text)