The echoes collected by wideband radar systems provide abundant information on target scatterers, which is beneficial to target detection, classification, and recognition. However, as the radar range resolution increases, range cell migration (RCM) during the coherent integration (CI) period happens much easier, which may cause a degradation of target detection probability. In addition, due to the target’s orientation and structure relative to the radar, the distribution characteristics of the target scatterers in high-resolution range profiles (HRRPs) and the detection window length may vary from pulse to pulse, which may reduce the performance of traditional energy integration (EI) detectors. To solve those problems, moving range-spread target (RST) detection combining the modified keystone transform (MKT) and improved EI (IEI) is proposed in this paper. Firstly, based on waveform entropy minimization, MKT using hunter–prey optimization (HPO) is introduced to reduce the CI gain loss. The target Doppler ambiguity factor is estimated using such an effective optimization technique. Then, the IEI detector optimized by the adaptive threshold and detection window is utilized to achieve target detection, which minimizes the sensitivity of the traditional EI detector to the detection window length. The proposed method significantly improves the performance of moving RSTs in sea clutter without prior knowledge of the target Doppler ambiguity factor. Experiments are conducted by comparing the proposed method with other competing methods on both simulation data and real sea clutter data. The results demonstrate that the proposed method can obtain the CI more efficiently and has a higher detection probability.