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