select * from redirects where fromurl = 'https://www.makrosafe.co.za/'+a.url+'' and websitesid = '14' and enabled = 1