Gravitational quantum effects on power spectra and spectral indices with higher-order corrections