Welcome to RF 50 mm f1.8 STM
Change the EF version to RF version 50 mm f1.8 STM. Both lens seem has same image quality and lens built in.

This set up is the smallest in Eos R camera system and the smallest in mirorrles full frame camera in the time this photo taken.