SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '07307806477d46e8cb6a4545db80fa57fc3e4e0273435c83ffb12d4667a8a96f' 
  AND token = '7il2v1Y4Ge/m/JinPg8vJZZLsBKBwm6ksC3Ou/G0fDc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}