Table './adomasirieva_lt_etopas/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 (1107,1912,1062,796,885,903,904,911,935,947,971,1030,1033,1034,1035,1036,1038,1039,2678,1241,1825,1909,2502,2136,2534,2677,1716,1941,870,903,904,1006,1032,1241,1629,1823,1859,1891,2796,970,2139,2140,2141,2186,2428,2429,2798,2534,2593,2594,2595,2797,870,875,1891,1905,1906,1918,1942,1973,1976,1990,1991,2302,2307,2330,2331,2503,688,794,801,802,907,908,910,2589,1563,1966,1990,1991,1995,2129,2136,2178,2772,2204,2430,2330,2455,2503,667,684,887,888,2695,954,1021,1331,1974,1975,1994,2555,1124,1988,1989,2446,1006,914,1201,1202,1203,1204,1205,1206,1207,1349,1372,1373,1374,1375,1376,1377,1378,1379,1380,1381,1622,1938,2145,2560,2354,2356,2358,2390,2576,2541,2575,2686,2687,2020,2021,2022,2023,2024,2025,2026,2027)) OR (categoryID IN (715,572,573,574,575,576,577,578,579,580,581,582,717,716,741,571)) ) AND ( enabled=1)