SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8bf8da58c7ccc310e243344a458c74b69eba534861dcf870f4c0e224a6a8f170' 
  AND token = 'K/5euYySca8Gv/RywyWSxep8Df/3M3SCX7gUroderLU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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