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