Effect of Lee-Wick thermodynamics in the cosmology of the early universe