SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}Berlin{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}' OR prCity = 'Berlin' OR prZip = 'Berlin' OR prStreet LIKE '{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}Berlin{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}' OR prCountry = 'Berlin') AND (prLocation LIKE '{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}Mahlsdorf-Süd{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}' OR prCity = 'Mahlsdorf-Süd' OR prZip = 'Mahlsdorf-Süd' OR prStreet LIKE '{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}Mahlsdorf-Süd{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}' OR prCountry = 'Mahlsdorf-Süd') AND (prLocation LIKE '{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}Germany{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}Germany{463384f58aa2d8b4163037dda54f39da3647a1c510f39434d6ad7dae05ea02ae}' OR prCountry = 'Germany')