A 32-year-old man who was caught with cocaine, cash and evidence of drug supply activity has been jailed.