SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b8226ec8a328877bd6eb3fb5b4252365748291e4ee0ec5703c5f9137d4b97b67' 
  AND token = 'svHfVSivo64MtJynmK2efsI1LKF3QWvCmkTkzlr9KYg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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