SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}Goch{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}' OR prCity = 'Goch' OR prZip = 'Goch' OR prStreet LIKE '{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}Goch{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}' OR prCountry = 'Goch') AND (prLocation LIKE '{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}Germany{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}Germany{67a5632b45563cc620950602e6dd6956fb79d9826c7be36fa7260296c56e5632}' OR prCountry = 'Germany')