It's a shortened version of "abuela", which is the formal word for grandmother.
While "mima" is a widely used affectionate term in Spain and Latin America, it's not necessarily understood in other Spanish-speaking countries. It can be helpful to confirm with the individual if you're unsure whether they will understand.