MySQL Error Occurred

Error Message:
1317: Query execution was interrupted

SQL:
SELECT I.name, I.productId, I.image FROM cubecart_inventory AS I, cubecart_category AS C WHERE C.cat_id = I.cat_id AND I.cat_id > 0 AND I.disabled = '0' AND (C.cat_desc != '##HIDDEN##' OR C.cat_desc IS NULL) ORDER BY I.popularity DESC