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