QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..1026.84 rows=1 width=165)
Filter: ((name)::text = '966e368c-30f2-3a0c-9539-efed3dc15ac0'::text)