SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dd783bd0923d9f546861fcc4023aca902c1d04884874e911bfebbdcf0b97170e' 
  AND token = 'PfHdsaHprXsUiJCe1wchlx5CLBaBskDoZDHzHjEoBkM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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