What is the best way to keep fresh food good for a long trip?
Pasta does not freeze very well, so I would advise against asking the restaurant to freeze it. I would ask that they provide the sauce in one container, and the (uncooked) pasta in another. Those two will keep just fine in a cold box with ice for ~10 hours. If you're very concerned about food safety, you can keep a thermometer in the cold box and make sure it doesn't exceed fridge temperature. If the temperature starts to increase (unlikely in 10 hours with a decently insulated cold box) the car can stop for more ice. On arrival, you boil the pasta according to instructions (it's most likely fresh pasta, so it should only be boiled for 2-3 minutes) and gently heat up the sauce in a pan before combining and adding any toppings like cheese.