SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7d7f83a7eccd43d9835ed527337eb03df8589596831cf33b642ba952a8a5123e' 
  AND token = 'GumBOdjsUqcoR+9jcC2709lFTufl+P4TJReNvum8zFc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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