The calculated distance (air line) between Córdoba and Lorca is approximately 168 miles respectively 271 kilometers.
By car or train, the actual journey to Lorca is certainly longer, as only the direct route (as the crow flies) between Córdoba and Lorca has been calculated here.