Sampling only people who self-select themselves into one specific group (sperm donors) definitely isn’t a random sample. There are obviously correlations between income, geographic area and age with the desire to become a donor.
Don't sperm banks collect all of that relevant information? I would assume they collect at least age, income, and education. Probably some health history as well.