SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd24e1fa34e9e9fd8c9b03a486749f0b2bce0a025bc14fa94423b72559d6ec82c' 
  AND token = 'u1GkXRXMMedELzTwO2ocD8Dc21a/zi0S2e6HXsfnr4M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}