There is no magical layout that can eliminate the tension you’re artificially creating by stretching your fingers into unnatural positions instead of just moving the entire hand.
What healthy typing looks like (on a horrible keyboard no less): https://www.youtube.com/watch?v=Vs2B5XRtr6k
Imagine you tried playing a piano the way you type on your keyboard: https://www.youtube.com/watch?v=InqmH-o1cX0
The pain is letting you know you’re doing something wrong.