SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2d339816cc1062e98200fc47641a6ed43e75b3be6db843a36f890db353ffa5c3' 
  AND token = 'xeQI20ZTnoM0FAm0dB8l8jRXxok2cYmF/77/TjTkPEw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00056

JSON explain

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