WordPress database error: [Table 'requests' is marked as crashed and should be repaired]
SELECT
COUNT(CASE WHEN `userIP` = '18.117.94.77' AND TIMESTAMPDIFF(MINUTE, `requested`, NOW()) < 1440 THEN 1 END) AS userlimit,
COUNT(CASE WHEN `songID` = 27250 AND `played` = 0 THEN 1 END) AS already_requested FROM `requests`