Every prime, equally likely
The primes in the range are found first, then one is drawn from that list. That matters because primes thin out as numbers grow: drawing a number and testing it would favour nothing, but would take far longer near the top of a large range.
Two is the only even prime, and it is in the list like any other — the range starts there for that reason.