SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '45947c95ff22ed7853faaef16ca46fc350966cc046e3e9cf35fd26b1a664252c' 
  AND token = 'B9gA+jS7CxtDDfheC3Dwf8PFMPrlRizOMReILeiJsAE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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