SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd7fa02e40d577587cc8c5e84a66b76076fdb77a60165fc017813b6f1d2a01e64' 
  AND token = 'oGcw2i8ZD4rzGi7CrnHPai+q1xnOvzCtBZUI3V/ZRvs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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