All perfect praise be to Allah, The Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
The basic principle is that it is an obligation to abide by the terms of the contract. Allah, The Exalted, says (what means): {O you who have believed, fulfill (all) contracts.} [Quran 5:1]
As for conditions such as the one in your employment contract, they are problematic and require examination, especially given that there is an extensively wide range of contemporary contracts of diverse natures and terms. On the other hand, there is the issue of coercion, which makes the employee sign a contract without being fully satisfied with its terms. Therefore, the scholars held different views on such terms and the obligation to abide by them. It can thus be said that there is very likely no harm for the employee to violate the condition that he must not work on any other job outside the working hours provided that his other job does not affect the job that is subject to the contract, especially if he needs the other job.
Allah knows best.