You can add a space to the name, or use capital letters to distinct between the two...
I would go with capitalizations:
one would be "John Doe Woo" and the other "Joh doe Woo".
you can also use "-" "John-Doe Woo" and "john Doe Woo"...
But - it is clear that this is not what you should do,
you should fix the DB design..