SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}San{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCity = 'San' OR prZip = 'San' OR prStreet LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}San{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCountry = 'San') AND (prLocation LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}Pedro{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCity = 'Pedro' OR prZip = 'Pedro' OR prStreet LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}Pedro{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCountry = 'Pedro') AND (prLocation LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}del{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCity = 'del' OR prZip = 'del' OR prStreet LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}del{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCountry = 'del') AND (prLocation LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}Pinatar{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCity = 'Pinatar' OR prZip = 'Pinatar' OR prStreet LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}Pinatar{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCountry = 'Pinatar') AND (prLocation LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}Spain{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}Spain{1b824cee163e963e91e3732d5478021d26971055327231f9d0c586897f2a03dc}' OR prCountry = 'Spain')