Trimetazidine acts by
It  inhibits pFox enzyme and inhibits β - oxidation of fatty acids and increases glucose oxidation. Thus reduces the oxygen consumption & demand in an ischaemic cell.
Inhibiting Rhokinase
Inhibits Molecular light chain kinase (MLCK) and increase cGMP
Inhibits pFox enzyme and inhibits β - oxidation of Fatty acids
Inhibits sodium channels and decreases funny current