Probing the effects of external irradiation on low-mass protostars through unbiased line surveys