Here is a way to limit the current in D3 to 30mA, while using the same current that flows in the other LEDs - ie: D3 does not consume more current from the power supply than what is already being used by D1 and D2.
simulate this circuit – Schematic created using CircuitLab
Circuit Description
When D1 or D2 has 30mA of forward current, the same current is passed through D3, as set by the current source formed by Q1, Q2, R1, R2. However, when both D1 and D2 are on, the extra 30mA bypasses D3 via D4 (zener) and D5.
The components R1, R2, Q1 & Q2 form a constant current source of about 30mA, which is only energised when either of the current sinks for D1 or D2 (or both) are turned on. If both D1 and D2 are off, then it remains in the off state.
You could introduce another LED in series with D4 to indicate the AND function, ie: when both D1 and D2 are on (refer D5).
The voltage required for zener D4 should be selected based on testing of your circuit. The value shown (5V) here is merely a starting point. Note that D4 will dissipate more power as its break-over voltage increases. Select the breakover voltage of D4 to be as low as possible while still providing voltage margin for the current source and LED D3 to work correctly. The anode of D3 only needs to be about 1V below Vcc_24V for the current source to work properly.
R1 is selected to give 30mA of current into the emitter of Q1. R2 is selected to provide sufficient base current for Q1, and needs to be adjusted if supply voltage (24V) is varied significantly.