You will pay taxes on $45k as a whole. Same tax brackets for Canadian and Foreign income. If you have paid taxes on $5k earned abroad in a country with which Canada has a tax treaty , then you will pay
Canadian taxes on $45k minus tax already paid to foreign equivalent of CRA.
This won't reduce your overall tax liability but you won't be double taxed