SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8a8a796e20e22dd2218955f4212668bd33cb693a4c066f4f081547b12b7d10a8' 
  AND token = '0NNQ4fp+5xw043BEtvnIYn146rcp9p+tqqsAFpzoXwU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00017

JSON explain

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