On the cubic Dirac equation with potential and the Lochak--Majorana condition