If you're going to cover the exposed foam with sand, let it dry first, then brush on epoxy and apply the sand to the epoxy. It sticks much better to the epoxy than the wet foam. In addition, you add one more layer of protection to the foam.
Read through the link I sent you above, it will show you which epoxy to use and everything.