SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '584d9f950d5077fca03003099f82e172a4d1d2567dcff2eef574b3c9bed99144' 
  AND token = 'zzIPyusv/yG+JtF1kfcYBFADXDeScWZkzviFTDXp64A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00034

JSON explain

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