I think it depends mostly on your doctor.
Mine is very adamant that I get one before the 2 year HRT mark. I will be 46 by that time. But I do have a family history of breast cancer too and my doctor is an OB/GYN. I'll get the referral this summer and have to have it completed by the end of the year, otherwise she will cut me off my hormones...