When you refuse to give the police permission to search your vehicle, they will impound the vehicle and arrest you on the spot ... believe me, it happens ...
If they are going to search your vehicle whether you consent or not, you are better off not consenting to a search, because then you have the option of challenging the legality of the search in court. If you consent, that is one option you will not have later.