Contact the publisher's support team with your proof of purchase; they can often reissue a key. If that fails, the Origin version of Battlefield 2 ties the key to your account, which sidesteps the problem entirely next time.