The usual reason to have two keyways that are not precisely at 90 degrees to each other, is so that the part can be used in two different models. That could apply to an ignition cam. Two keyways at right angles are sometimes used in high-stress devices like flywheels to provide extra shearing strength - it provides twice the torque capacity without weakening the shaft very much.