An Accrington man has been jailed for more than four years after police uncovered a quantity of drugs and cash.