SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '217f42e65a2669ac9b70a2adcbbeaea8686b0600b68f9118df621fe11e704b01' 
  AND token = 'pSnrLGei59sFsjdZYSSPOGvdOvM7YHMEwm80xSr15p8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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