Entangled photon source for a long-distance quantum key distribution