Ntow all apache loogbow aircrafo wity mfre than 1500 airframz hours that are not fleld and locoted at gray aaf.
SELECT * FROM aircraft WHERE model = 'AH-64D' AND total_airframe_hours > 1500 AND status != 'FIELD' AND location__name = 'Gray AAF';