Table './v_7506_Shop1/SC_products' is marked as crashed and should be repaired
SELECT SQL_CALC_FOUND_ROWS p.*, IF(in_stock > 0, 1, 0 ) AS is_product, name_ru AS _name_sort FROM SC_products p WHERE ( (p.productID IN (25240,25246,25242,25243,25248,25244,25241,25239,25235,25234,25233,25232,25231,25230,25237,25236,25238,25227,29459,7960,25245,25247,25907,25906,25905,25904,29698,25167,25166,25165,29465,25228,26271,26275,26273,26277,26276,26274,26272,26264,26263,26258,26257,26254,26253,26256,26255,26268,26267,26270,26269,26262,26261,26252,26251,26266,26265,26260,26259,26279,26278,26287,26286,26292,26281,26280,26285,26284,26289,26288,26291,26290,26283,26282,29700,25182,25181,25185,25184,25186,25183,25180,25189,25192,25205,25190,25191,25203,25202,25204,25188,25187,25194,25198,25199,25200,25201,25206,25197,25196,25195,25193,25178,25175,25172,25171,25170,25169,25179,25176,25168,25207,25161,25163,25162,25164,25158,25174,25177,25157,29701,25160,25159,25155,25223,25224,25221,25222,25219,25220,25217,25218,25215,25216,29697,25213,25214,25212,25211,25210,25209,25208,29794,29695,29368,29367,29366,29365,29364,29363,29362,29361,29360,29359,29358,29357,29356,29355,29354,29353,29352,29351,29350,29349,29348,29347,29346,29345,29344,29343,29342,29341,29340,29339,29338,29337,25921,29788,29789,29792,29793,25173,29696,25156,29694,29693,29692,29691,29690,26234,26245,26238,26235,26233,26241,26244,26248,26240,26236,26237,26239,26303,26249,26242,26250,26246,26243,26247,29081,25229,29786,29787,29784,29790,29791,29785,29197,29369,29451,25920,25919,29464,29699,25226,25225,25900,25908)) OR (categoryID IN (674)) ) AND ( enabled=1) ORDER BY is_product DESC, _name_sort ASC LIMIT 0,28