SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}Gemmingen{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCity = 'Gemmingen' OR prZip = 'Gemmingen' OR prStreet LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}Gemmingen{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCountry = 'Gemmingen') AND (prLocation LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}/{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCity = '/' OR prZip = '/' OR prStreet LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}/{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCountry = '/') AND (prLocation LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}Stebbach{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCity = 'Stebbach' OR prZip = 'Stebbach' OR prStreet LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}Stebbach{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCountry = 'Stebbach') AND (prLocation LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}Germany{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}Germany{d90632bfc43ccc13c2408bfc0beea48b0a87fb995b5f486bb092d0ff6e48132a}' OR prCountry = 'Germany')