We present estimates of ages, [Fe/H], helium content (Y) and abundances of C, N, Mg, Ca, and several other elements for the following globular clusters (GCs): GC7 in NGC147, and Mayall II, Mackey 1 and Mackey 6 in M31. Medium-resolution integrated-light spectra of the GCs were conducted with the 6m telescope. To derive the ages and abundances for the GCs we carried out their population synthesis using model stellar atmospheres, the Padova YZVAR isochrones and the Chabrier mass function. We compare the results with the corresponding data obtained using the same method for several massive Galactic GCs. We show that the differences in the light-element abundances between GCs with similar ages and metallicities may reach 0.5-0.6 dex. The corresponding differences for other elements are usually 2-3 times smaller. We suggest that at least partially the detected differences may be due to light-element abundance variations in the atmospheres of high-luminosity red giant branch stars as a consequence of the transportation of the produced elements to the surface layers.