when will the mlp give constant prediction?
This means that your features do  ot have predictive power to estimayevthe target. Hence the MLP has learnt to predict the mean of the target distribution so as to minimize the loss.
Try checking if the constant value is indeed the mean of the target variable.