In UE5 editor console commands enter the following:
r.VSyncEditor 1
That should remove screen tearing.