SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45f23111663251416989241f3be23ee48a0a0ced827f3c804a3947d287d6eaac' 
  AND token = '1br+PsBP6Ak4ERnXbhtPbGfjEYcj26KYojFvmQNScus=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}