SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31034ae3e86a7c45ae180f9740c29ea7611eb81cfcd632735fbcd86cfedb6f65' 
  AND token = '42NDsP1dXVWYY3wHh6QRRzE57I+GA6Kld5BxHESdoV8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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