SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ccf9a93178de574786c592b071e7cc95cbbfa05e773c29b7cebdbdc0b7b1b275' 
  AND token = 'QROwXpv2KB9qE4P54tUdLvwE1qWZ0fEwKcx+P8IefmQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}