SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}Korntal-Münchingen{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}' OR prCity = 'Korntal-Münchingen' OR prZip = 'Korntal-Münchingen' OR prStreet LIKE '{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}Korntal-Münchingen{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}' OR prCountry = 'Korntal-Münchingen') AND (prLocation LIKE '{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}Germany{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}Germany{520a90afaa50f498949526c33275d4a731cff46be028f64c5b0181ce0789184e}' OR prCountry = 'Germany')