If he is larger than say 300g and can take the missed meal, I would just skip the feeding and treat the mites first. I'd personally buy a small sterilite tub to keep him in for a few weeks while your other enclosure is treated.
Reptile spray is only used on the snake to wipe off the current mites on the spot, but it doesn't last, so it's a bit useless.
You want to buy PAM (provent-a-mite) and follow the instructions to spray the enclosure, the decorations, outside the enclosure, etc. and let it air dry for 2 days or whenever everything is 100% dry... PAM is deadly to snakes and can kill him if he touches the PAM when wet, so you must keep him in the spare tub in a different room.
I personally did this when I got mites, I bought Frontline spray (the kind used for dogs and cats) and you spray your hands and wipe it down on your snake from head to tail, especially on the vent and eyes where mites tend to collect. Then I kept him in the tub to treat and observe for mites for a month.
My tub just had a pre PAM-treated paper towel (spray down a paper towel with PAM and let it air dry for a day before using it with the snake) and a hide. Heat pad and thermostat. Just a small setup.
Don't give him a water bowl until 2 days after you used PAM or frontline!