SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8d4e111628a5fd93b25796b7796aa931dd9d3b0f7906346db9a690508de34203' 
  AND token = 'bd8aHplAPvYTWe+dyJi0vg2oihm7V/4idwFt96h8xEU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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