Table './samara_shop/sc_products' is marked as crashed and should be repaired
SELECT COUNT(DISTINCT p.productID) as cnt FROM SC_products p WHERE (categoryID IN (2249,2251,2253,2256,2258,2263,2265,2267,2269,2271,2273,2275,2243,2244,2071,2080,2083,2084,2245,2246,2247,2248,2250,2252,2268,2260,2264,2262,2259,2257,2270,2274,2255,2272,2266,2261,2122,2123,2125,2126,2064)) AND ( enabled=1)