It is ok to use old solutions, like for glasses cleaning?

Probably. If you are using a solution on externally worn eyeglasses, and it seems effective, it should have no effect on your health and hopefully it is not a corrosive solution which will damage your glasses. There is generally no expiration date on cleaners used in the house unless they are for medical purposes.