SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5e7857eea527bfdbae7530d099e46e825a6ba9007951a7b6e283c3bba1c0ff0d' 
  AND token = 'h/4qxTL+9+8dtrhNLL/MTg4JEFm9T9hSeYmk2pCfMLI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00069

JSON explain

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