Table './azb74/SC_products' is marked as crashed and should be repaired
SELECT COUNT(DISTINCT p.productID) as cnt FROM SC_products p WHERE ( (p.productID IN (1566,1567,2459,2478,2480,3805,3806,3807,3820,3984,3985,4062,4063,4096,4097,12894,13372,13552,15190,15194,15198,15199,15200,20391,21288,21408,21566,21568,21570,21571,21572,21592,21593,21754,21755,22573,22574,22921,22925,22926,24053,24071,24072,24077,24079,28213,28217,28219,28218,28220,28221,28223,28222,28224,28226,28225,28227,30450,30453,30455,32068,34690,34691,34692,35766,35768,35769,35795,35799,35814,35815,45126,45127,45128,46403,46405,46420,46423,47113,47112,47119,48167,48230,48234,48335,48336,48339,48340)) OR (categoryID IN (698)) ) AND ( enabled=1) AND status_off <> 1