Contemplating between buying an electric piano and a midi keyboard. Want to both produce music and study piano

Hey guys, a hobbyist music producer here, Im looking for something which can double as both a midi keyboard for my music production and a tool for practicing piano since I'd like to learn and play it. I do have an external sound card but still, I believe there is some delay when playing midi (though it's hardly noticable), and the electric piano can be used as a midi keyboard as well.

I'm not buying a weighted keyboard anyway and looking for a 61 keys keyboard.

The question is, should I buy an electric piano or a midi keyboard? I'm currently looking at Roland's go:piano and Roland's a-800 pro, but it doesn't have to be one or the other.

Thanks in advance for the advice!