select * from redirects where fromurl = 'https://www.teacup.co.za/'+h+' and websitesid = '61' and enabled = 1