Interesting article about strenuous exercise and the risk of heart attack and cardiac arrest.
https://www.health.com/heart-disease...aed-bob-harper
Focus is on folks in exercise facilities, which nowadays have AEDs - and often someone with CPR/AED/first aid training is available.
Tips for cyclists with exercise-related cardiac concerns: Always ride with someone who is CPR-trained. Always carry a charged portable AED. (Lifeline AED weighs about 4 pounds) Always ride within range of a cell tower, in order to call EMS.
(And, discuss your concerns with a healthcare practitioner, as needed.)
Have a nice day and have a nice bike ride!