Table './einstrum_main/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 (11515,9926,8641,3133,3131,3132,3129,3128,2689,2690,2696,3377,2732,2742,2743,2744,10158,2046,2044,10157,2846,2847,3374,7541,7542,7543,5276,5277,9978,9977,9979,2785,5288,5289,5290,5304,5303,5302,5301,5300,5299,9784,10584,10585,10606,10607,10608,10609,10610,10611,10612,10613,10615,10616,10617,10618,10619,10620,10621,10622,10722,10723,10724,10755,10756,10757,2094,10010,11550,10555,5263,8369,8370,8371,8372,9392,9780,9906,9907,10039,10211,10758,11867,1861,1862,1863,1864,1865,1866,1867,1868,9976,9975,2055,2056,2054,2799,2800,4163,11525,11540,5437,7724,7725,7726,7727,5419,7729,5435,5434,5433,5432,5431,7730,3141,3142,3143,9245,9696,9697,9698,9781,9782,9783,9908,9909,10342,5407,5408,5409,5411,10503,10538,10539,10540,10591,10672,10725,10726,10759,10760,10761,10763,11137,11138,11139,11873,11874,11875,2746,10148,10140,2752,2753,11541,5144,5141,9785,9786,9929,10587,10588,10638,10639,10640,10641,10642,10643,10644,10645,10646,10647,10648,10649,10650,10748,10749,7702,7706,7709,7711,7712,7713,9363,9364,9365,7721,7722,10598,10599,10600,10601,10602,10603,10604,10605,10653,10654,10714,10750,3134,3135,10592,10593,10594,10595,10596,10597,10623,10624,10625,11541,10636,10637,10645,10646,10647,10648,10649,10650,10748,10749,10655,10656,10657,10658,10659,10660,10661,10662,10663,10664,10752,10762,10764,10665,10666,10667,10715,10746,10747,10716,10717)) OR (categoryID IN (1253,1252,1262,1254,1255,1256,1257,1258,1318,1324,1367,1809,1817,2081,2851,2859,2866,2869,2872,2903,2905,1232)) ) AND ( enabled=1)