Total load: 5000w + 700w = 5700w
Total current: I = 5700/220 = 25.9A
UPS is a 10KVA \ 8KW, power outage can be maintained for a period of time: t = 10 * 1000/220 * 25.9 = 1.755 hours!
The actual power time is less than 1.755 hours (efficiency, electrical power factor, UPS charging and discharging performance and other factors).