A Polish train driver had three seconds to warn passengers of an impending crash with a lorry on the track as it was travelling at 110km/h (68 mph).