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