SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}Mettmann{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}' OR prCity = 'Mettmann' OR prZip = 'Mettmann' OR prStreet LIKE '{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}Mettmann{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}' OR prCountry = 'Mettmann') AND (prLocation LIKE '{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}Germany{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}Germany{4edd7a949526318745adbd5f6b7be089bff195bf44b22180c59ed4fbc113cb56}' OR prCountry = 'Germany')