QUERY PLAN
Seq Scan on tbl_attachments (cost=0.00..991.00 rows=1 width=165)
Filter: ((name)::text = '1019cee7-2418-3218-8921-e5aac7a03920'::text)