The calculated distance (air line) between Málaga and Lorca is approximately 163 miles respectively 263 kilometers.
By car or train, the actual journey to Lorca is certainly longer, as only the direct route (as the crow flies) between Málaga and Lorca has been calculated here.