Chern-Simons-like term generation in an extended model of QED under external conditions