Atypical cells found in urine and lower back pain. Could this have anything to do with ovaries?

Not usually. Any cells seen in urine is usually not from the menstrual cycle (ovaries, uterus), and more in line with urethra, bladder. Discuss this with your doctor who ordered the test, so s/he can fully explain the findings with you, and what the next step is.