One day I suspect that those pain are result of my overall bad health(from sitting in front of screen for years and years) and have little to no exercise at all and not just single cause, and decide that I had enough and start training everyday in the morning — getting stronger, fitter, lift weight, loss weight, eat better, drink more water, more sleep. less stress — all kind of things I never to before in my life. I'm the worst person when comes to exercise, but feel I have to change my habit, or else I'll deep in this life of pain forever.
I found that's work for me! I don't feel pain anymore, I feel much fitter and healthier overall. Better than any ergonomics keyboard or mouse out there.
Anyway, good tools is still better than bad tools I guess.
For keyboard, I used to use tenkeyless Logitech gaming keyboard. Good keyboard, but I found that it is too big for my hand and have to stretch my pinky finger to reach the modifier keys all the time, which made my hand sore after just a few hours. I then switch to another quality keyboard: the Apple Magic keyboard and really happy about it since it have a lot less key travel. Really good keyboard except the weird directional key layout that need to get used to.