You don't say if you are having
open surgery or laproscopic. I had DaVinci at age 57 (almost 9 years ago). I was otherwise physically fit and healthy. In the hospital 2 nights 'cause one of my incisions was weeping. Very little pain, used one or 2 Vicodan. Had the procedure on a Sunday, catheter out the following Sunday morning and was back at work that same Sunday afternoon (Realtor).
I did have a clogged catheter (blood clot) a couple days after the operation. It was very painful and required a trip to the emergency room but I don't think that is very common.
At 40 you are definately on the youngest finge of this group. I hope you have researched all of your options. If you are strong and fit you should do well. Good luck and keep us posted on your progress.