SELECT id, ort, fachwort, (
6368 * SQRT(2*(1-cos(RADIANS(lng)) *
cos(0.22845389505542) * (sin(RADIANS(lat)) *
sin(0.84766763647767) + cos(RADIANS(lat)) *
cos(0.84766763647767)) - sin(RADIANS(lng)) * sin(0.22845389505542)))) AS entfernung
FROM literatur WHERE
6368 * SQRT(2*(1-cos(RADIANS(lng)) *
cos(0.22845389505542) * (sin(RADIANS(lat)) *
sin(0.84766763647767) + cos(RADIANS(lat)) *
cos(0.84766763647767)) - sin(RADIANS(lng)) * sin(0.22845389505542))) <= 25
ORDER BY entfernung