Not sure about mineral oil to clean strings. However there are several things you can do to prolong the life of your strings such as making sure to wash hands before playing. This article I found gives several tips plus products to buy. All the best!
https://www.doremistudios.com.au/cleaning-strings/