SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}Mutxamel{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}' OR prCity = 'Mutxamel' OR prZip = 'Mutxamel' OR prStreet LIKE '{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}Mutxamel{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}' OR prCountry = 'Mutxamel') AND (prLocation LIKE '{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}Spain{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}' OR prCity = 'Spain' OR prZip = 'Spain' OR prStreet LIKE '{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}Spain{c46ff27d50d02b2588f1202712ac1a53921b0332636ddda66f974472c932b068}' OR prCountry = 'Spain')