When pairing the TUYA app with the mini WIFI 5193 controller or the 5195 keyboard it is not possible because it cannot find the device, is because the device already has an owner in the app, so to resolve this, you must perform a Wi-Fi reset.
To resolve this, follow the steps indicated in the app manual, page 20: