In civilian aircraft there is no radar "scanning ahead". RadAlt and GPWS are downward looking and cannot predict terrain ahead of the aircraft. EGPWS is GPS/computer driven and uses a data base to provide terrain information in the area of the aircraft.
Forward looking radar can be found on some military aircraft designed for low altitude terrain following operations. They come standard with ejection seat(s).