Got error 122 from storage engine(No Description) sql: SELECT p.* FROM products p, products_categories pc WHERE p.parent_id = 0 AND p.id = pc.product_id AND pc.category_id = '150' AND offers > 0 AND p.id <> '10926' ORDER BY RAND()