You can renew your registration any time, they are concerned with the fee, you just go directly to the inspection place, pay 75QR and they will inspect your car, once it is finished and passed, then process the insurance and go to Traffic Police.
If you will not renew till the expiry date, it has one month grace period also.