SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}Leuna{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}' OR prCity = 'Leuna' OR prZip = 'Leuna' OR prStreet LIKE '{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}Leuna{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}' OR prCountry = 'Leuna') AND (prLocation LIKE '{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}Germany{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}Germany{62506e54e5c175859252e3e430030d59c4b7139d0b66e802fe50ce06cf6d7211}' OR prCountry = 'Germany')