SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4211d5f71558461e41722daf2ccde98489cf831f4106c72178478a4c78c95efd' 
  AND token = 'xUILsNOtiRQv/qucCjL8aN8FBF6on5bEGlCPTWJOb8M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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