Combined effects of two nonlinearities in lifespan of small solutions to semi-linear wave equations