The binding of calcium and magnesium ions to proteins is crucial for regulating heart contraction. However, other divalent cations, including xenobiotics, can accumulate in the myocardium and enter cardiomyocytes, where they can bind to proteins. In this article, we summarized the impact of these cations on myosin ATPase activity and EF-hand proteins, with special attention given to toxic cations. Optimal binding to EF-hand proteins occurs at an ionic radius close to that of Mg2+ and Ca2+. In skeletal Troponin C, Cd2+, Sr2+, Pb2+, Mn2+, Co2+, Ni2+, Ba2+, Mg2+, Zn2+, and trivalent lanthanides can substitute for Ca2+. As myosin ATPase is not a specific MgATPase, Ca2+, Fe2+, Mn2+, Ni2+, and Sr2+ could support myosin ATPase activity. On the other hand, Zn2+ and Cu2 significantly inhibit ATPase activity. The affinity to various divalent cations depends on certain proteins or their isoforms and can alter with amino acid substitution and post-translational modification. Cardiac EF-hand proteins and the myosin ATP-binding pocket are potential molecular targets for toxic cations, which could significantly alter the mechanical characteristics of the heart muscle at the molecular level.