Letter of recommendation for grad. school application source
I would ask mentor #1 (with a master's degree) to write a letter to the PhD research scientist #2, and have the latter (#2) submit a letter for your application. Thus, the recommendation letter is received from a prestigious source, is based on current experience of your work habits and character, but can also incorporate quotes/details from the more junior person. This is not an unusual pattern in my experience.