Chiral symmetry breaking in QED with an external field varying in 3D space and time