SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0945bd98e9fbc87861dab0eb1bc2abadc9936f353c38c48bac0a8fefa3969e4a' 
  AND token = 'dhmO1Z4WxQPSTpmxYMknDWeajs5mMEuOFc/GbKPBHKs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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