As I always say on this kind of thread, it depends on the mileage. I got mine with nearly 60k miles, so for $2400, a warranty was a good option. It nearly paid off for itself. I had a $2700 bill for repairs and maintenance within the first month of owning the car, but only $600 was out of my pocket (deductible of 100 bucks, 100 to inspect the car, and then some fluid flushes).
Your car is closing in on 40k, so I'd probably put the money aside and not touch it unless something goes wrong with the car. But you know, not every car is the same. M5s have been shown to have big $$$$ problems well before 60k, so mileage might vary.
I hate to bring up the "peace of mind" excuse (it's what the insurance companies thrive on to make money), but if it helps relax your sphincter, go for it.
Your car is closing in on 40k, so I'd probably put the money aside and not touch it unless something goes wrong with the car. But you know, not every car is the same. M5s have been shown to have big $$$$ problems well before 60k, so mileage might vary.
I hate to bring up the "peace of mind" excuse (it's what the insurance companies thrive on to make money), but if it helps relax your sphincter, go for it.