i think highest flex temperature, is the better option mostly, and optimun flaps is always or almost always flaps 3, but some time using flaps 2 is giving you same flex temperature but better V2 (higher) so shorter 3rd segment. Company ops manual should give you this politics use of flex temp, if not highest is the best.