SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}Altstrimmig{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}' OR prCity = 'Altstrimmig' OR prZip = 'Altstrimmig' OR prStreet LIKE '{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}Altstrimmig{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}' OR prCountry = 'Altstrimmig') AND (prLocation LIKE '{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}Germany{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}Germany{40e843aabed2a6a18072bc6f5629855f8b57acf7f45c8a3fedbf45f077e6907e}' OR prCountry = 'Germany')