Here is Query Syntax please add your columns name and values according to your requirements.
select * from tbllocation where ID like '%GIVE ANY ID HERE%'
OR tblclient2 like '%GIVE NUMBER HERE%'
AND expiration = 'YOUR TEXT HERE' and status = 'not expired'
if any issue then please let me know.
Thanks