Longest drive with a snake was 2 an a half hours. I put them in a pillowcase, twisted the top, and set them in the aquarium I had in the back of the car.
I'd suggest bringing an extra pillowcase just in case. When I took bobba to the vet, he ended up peeing on the way there -_-