There should be no difference in whether you use MKV or MP4, they are both only containers. Once Shotcut has extracted the H.264-encoded video and is processing it it shouldn’t matter what the container was.
It’s like receiving a letter in a blue envelope or a white one. Once you’ve extracted the letter and are reading it, the colour of the envelope is irrelevant.