SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4afc3cabb59ae2ba2eba6f5b144176ce7bdacab876c87bb6487a97fe8f77b17c' 
  AND token = '4NFjflbfxu2OgFd6LHnvGq7GGot06o6bt6YJZKd6ISA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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