SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a212f71433ec4589cd44164b7cd1007bed25b38a54540cd684c11aaf4d31e689' 
  AND token = 'kGXZr7mAWgwQJFab86cN9/r2S46BR538BaWJFyzx46U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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