Ugh that sucks that your doctor dismissed you like that. There's abundant evidence that perimenopause can and does start much earlier in some people. It's clear she isn't keeping up with the latest in health care for women and that's a real shame especially for a female doctor.
Wishing you so much good luck in finding a doctor that actually listens to you <3