SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7ff212c36e4c4790624062c998be41682799de4e18ccc58d905ca7a909d29f98' 
  AND token = 'v1uarnY3jq1DxTQArk3LrSj7bAn6REoqhoyv0w+lmCc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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