Turbulence in rotating and non-rotating magnetohydrodynamic shear flows