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 (668,692,694,695,696,697,700,701,702,704,710,711,719,720,722,747,751,753,753,755,756,758,759,761,767,769,771,772,777,779,779,781,790,791,792,794,808,809,809,810,811,812,812,813,813,814,815,816,826,856,860,861,861,862,862,863,863,865,867,867,871,872,873,875,877,878,879,880,881,882,885,895,896,900,901,901,903,904,905,905,906,907,908,909,909,909,910,911,912,912,913,917,926,931,931,933,934,936,937,938,939,940,941,942,945,946,947,948,949,950,951,958,960,961,963,968,968,971,1003,1003,1006,1008,1008,1009,1010,1017,1019,1030,1122,1123,1276,1285,1285,1286,1561,1562,1563,1563,1580,1580,1582,1582,1613,1616,1716,1719,1776,1777,1818,1901,1902,1903,1904,1905,1906,1909,1909,1912,1914,1918,1919,1919,1941,1942,1953,1953,1956,1956,1960,1969,1969,1983,1984,1985,1986,1987,1990,1990,1991,1991,1993,1995,2062,2063,2064,2129,2133,2133,2136,2139,2139,2140,2140,2141,2141,2144,2160,2181,2187,2188,2188,2204,2232,2302,2331,2331,2382,2382,2428,2429,2430,2430,2440,2442,2443,2447,2455,2463,2471,2471,2493,2503,2511,2524,2567,2589,2649,2692,2694,2694,2724,2725,2752,2755,2764,2772)) OR (categoryID IN (556,558,559,560,562,563,564,565,566,567,568,569,570,714,555)) ) AND ( enabled=1)