SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8e3afbba0089370ccf95b808c83641aa01af48b7143b85d11f7bf95994a5ce28' 
  AND token = '8ZAtF3TqwFXcZmBdXII23CVTP1E830KKHOiiMnE8vAA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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