The quickest fix for me is I make sure my camera only see the mobs I want to attack. In other words I can't even see in my camera those who are further away.

My other fix is that I have "backspace" set on "target nearest enemy"

If push comes to shove like mog ex, I click on the mob I want to attack using my mouse because I don't want to memorize their names...